package com.example.system.domain.question.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * @author 23050
 * @version 1.0
 * @description: 查询题目详情响应类
 * @date 2025/2/20 20:47
 */
@Data
public class QuestionDetailVO {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long questionId;
    private String title; //题目标题
    private Integer difficulty;  //题目难度
    private Long timeLimit; //时间限制
    private Long spaceLimit;  //空间限制
    private String content;  //题目内容
    private String questionCase;   //测试用例
    private String defaultCode;  //默认代码块
    private String mainFunc;  //main函数


}
